package com.wangjiang.mario.admin.system.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangjiang.mario.admin.system.domain.entity.UserRoleEntity;
import com.wangjiang.mario.admin.system.object.user.UserRoleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper extends BaseMapper<UserRoleEntity> {
    int batchInsert(List<UserRoleEntity> list);

    List<UserRoleVo> getUserRoles(List<String> userUUidList);

    List<UserRoleVo> getRolesByUserUUid(@Param("userUUid") String uuid);
}
